home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 25
/
CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso
/
CUCD
/
WWW
/
http
/
www.wirenet.co.uk
/
files
/
thor25_arexx.lha
/
GoldED
/
MakeCool.ged
< prev
next >
Wrap
Text File
|
1995-06-09
|
969b
|
47 lines
/* MakeCool.ged by Troels Walsted Hansen
** $VER: MakeCool.ged v1.00 (09.06.95)
**
** Make text eLiTe cool using an external program. Known to work with
** "Coolify" by (Çøø£iF¥ 0.15ß by Øystein Larsen) and "Cool" (TEXT
** COOLER v1.0 by DDT of the HALF-BRAINS TEAM).
*/
cooler = "Coolify"
/* needs GoldED functions */
options results
if(substr(address(),1,6) ~= "GOLDED") then
do
say "This script should only be started from inside GoldED."
exit 20
end
else gedport = address()
/* save marked text block to file and delete it */
address(gedport)
SAVE BLOCK NAME '"T:UncoolTempFile"'
if(rc ~= 0) then exit
/* make text c00l */
address command
cooler || " >nil: t:UncoolTempFile t:CoolTempFile"
if(rc ~= 0) then exit
"delete >nil: t:UncoolTempFile"
/* delete uncool, and include c00l text */
address(gedport)
DELETE BLOCK
if(rc ~= 0) then exit
OPEN NAME '"t:CoolTempFile"' FAST INSERT
if(rc ~= 0) then exit
address command
"delete >nil: t:CoolTempFile"